package xyz.curleyg.springboot2demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: RESTfulAPI 测试
 * @author: CurleyG
 * @create: 2023-04-03 20:40
 **/

@RestController
public class HelloController {
    @RequestMapping("/index")
    public String index() {
        return "Hello World";
    }
}
